name: tests190 run_id: commands[0] env HOME: /home/jenkins env LANG: C.UTF-8 env PATH: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests190/bin:/opt/pyenv/bin:/tmp/venv-QTx6/bin:/opt/pyenv/shims:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin env PYTHONHASHSEED: 4216061264 env PIP_DISABLE_PIP_VERSION_CHECK: 1 env PYTHONIOENCODING: utf-8 env USE_SIMS: lighty env USE_ODL_ALT_KARAF_ENV: ./karafoc.env env USE_ODL_ALT_KARAF_INSTALL_DIR: karafoc env TOX_ENV_NAME: tests190 env TOX_WORK_DIR: /w/workspace/transportpce-tox-verify-transportpce-master/.tox env TOX_ENV_DIR: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests190 env VIRTUAL_ENV: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests190 metadata pid: 31008 cwd: /w/workspace/transportpce-tox-verify-transportpce-master/tests allow: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests190/bin/*:launch_tests.sh cmd: ./launch_tests.sh oc exit_code: 1 using environment variables from ./karafoc.env pytest -q transportpce_tests/oc/test01_portmapping.py ..FFFFFFFF [100%] =================================== FAILURES =================================== _______ TransportpceOCPortMappingTesting.test_03_xpdr_device_connection ________ self = def test_03_xpdr_device_connection(self): > response = test_utils.mount_device("XPDR-OC", ('sample-openconfig-mpdr', self.NODE_VERSION)) transportpce_tests/oc/test01_portmapping.py:56: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node = 'XPDR-OC', sim = ('sample-openconfig-mpdr', 'oc') def mount_device(node: str, sim: str): url = {'rfc8040': '{}/data/network-topology:network-topology/topology=topology-netconf/node={}', 'draft-bierman02': '{}/config/network-topology:network-topology/topology/topology-netconf/node/{}'} body = {'node': [{ "node-id": node, "netconf-node-topology:netconf-node": { "netconf-node-topology:host": "127.0.0.1", > "netconf-node-topology:port": SIMS[sim]['port'], "netconf-node-topology:login-password-unencrypted": { "netconf-node-topology:username": NODES_LOGIN, "netconf-node-topology:password": NODES_PWD }, "netconf-node-topology:tcp-only": "false", "netconf-node-topology:reconnect-on-changed-schema": "false", "netconf-node-topology:connection-timeout-millis": 20000, "netconf-node-topology:max-connection-attempts": 5, "netconf-node-topology:min-backoff-millis": 2000, "netconf-node-topology:max-backoff-millis": 1800000, "netconf-node-topology:backoff-multiplier": 1.5, "netconf-node-topology:keepalive-delay": 120}}]} E KeyError: ('sample-openconfig-mpdr', 'oc') transportpce_tests/common/test_utils.py:349: KeyError ----------------------------- Captured stdout call ----------------------------- execution of test_03_xpdr_device_connection ________ TransportpceOCPortMappingTesting.test_04_xpdr_device_connected ________ self = def test_04_xpdr_device_connected(self): response = test_utils.check_device_connection("XPDR-OC") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/oc/test01_portmapping.py:63: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_04_xpdr_device_connected ________ TransportpceOCPortMappingTesting.test_05_xpdr_portmapping_info ________ self = def test_05_xpdr_portmapping_info(self): response = test_utils.get_portmapping_node_attr("XPDR-OC", "node-info", None) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/oc/test01_portmapping.py:68: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_05_xpdr_portmapping_info ______ TransportpceOCPortMappingTesting.test_06_mpdr_portmapping_NETWORK5 ______ self = def test_06_mpdr_portmapping_NETWORK5(self): response = test_utils.get_portmapping_node_attr("XPDR-OC", "mapping", "XPDR1-NETWORK5") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/oc/test01_portmapping.py:81: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_06_mpdr_portmapping_NETWORK5 ______ TransportpceOCPortMappingTesting.test_07_mpdr_portmapping_CLIENT1 _______ self = def test_07_mpdr_portmapping_CLIENT1(self): response = test_utils.get_portmapping_node_attr("XPDR-OC", "mapping", "XPDR1-CLIENT1") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/oc/test01_portmapping.py:99: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_07_mpdr_portmapping_CLIENT1 _________ TransportpceOCPortMappingTesting.test_08_mpdr_switching_pool _________ self = def test_08_mpdr_switching_pool(self): response = test_utils.get_portmapping_node_attr("XPDR-OC", "switching-pool-lcp", "1") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/oc/test01_portmapping.py:116: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_08_mpdr_switching_pool _________ TransportpceOCPortMappingTesting.test_09_check_mccapprofile __________ self = def test_09_check_mccapprofile(self): res = test_utils.get_portmapping_node_attr("XPDR-OC", "mc-capabilities", "XPDR-mcprofile") > self.assertEqual(res['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/oc/test01_portmapping.py:129: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_09_check_mccapprofile ______ TransportpceOCPortMappingTesting.test_10_xpdr_device_disconnection ______ self = def test_10_xpdr_device_disconnection(self): response = test_utils.unmount_device("XPDR-OC") > self.assertIn(response.status_code, (requests.codes.ok, requests.codes.no_content)) E AssertionError: 409 not found in (200, 204) transportpce_tests/oc/test01_portmapping.py:136: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_10_xpdr_device_disconnection Searching for patterns in karaf.log... Pattern not found after 180 seconds! Node XPDR-OC still not deleted from tpce topology... --------------------------- Captured stdout teardown --------------------------- all processes killed =========================== short test summary info ============================ FAILED transportpce_tests/oc/test01_portmapping.py::TransportpceOCPortMappingTesting::test_03_xpdr_device_connection FAILED transportpce_tests/oc/test01_portmapping.py::TransportpceOCPortMappingTesting::test_04_xpdr_device_connected FAILED transportpce_tests/oc/test01_portmapping.py::TransportpceOCPortMappingTesting::test_05_xpdr_portmapping_info FAILED transportpce_tests/oc/test01_portmapping.py::TransportpceOCPortMappingTesting::test_06_mpdr_portmapping_NETWORK5 FAILED transportpce_tests/oc/test01_portmapping.py::TransportpceOCPortMappingTesting::test_07_mpdr_portmapping_CLIENT1 FAILED transportpce_tests/oc/test01_portmapping.py::TransportpceOCPortMappingTesting::test_08_mpdr_switching_pool FAILED transportpce_tests/oc/test01_portmapping.py::TransportpceOCPortMappingTesting::test_09_check_mccapprofile FAILED transportpce_tests/oc/test01_portmapping.py::TransportpceOCPortMappingTesting::test_10_xpdr_device_disconnection 8 failed, 2 passed in 224.99s (0:03:44)